<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>SJSW2</title>
    <meta name="apple-mobile-web-app-capable" content="yes"/>
    <meta name="full-screen" content="true"/>
    <meta name="screen-orientation" content="portrait"/>
    <meta name="x5-fullscreen" content="true"/>
    <meta name="360-fullscreen" content="true"/>



    <style>
        html, body {
            -ms-touch-action: none;
            background: #000000;
            padding: 0;
            border: 0;
            margin: 0;
            height: 100%;
            overflow: hidden;
        }
        #Layer2D{
            position: absolute;
            top: 0px; height: 100%;
            padding: 0px;
            z-index:2;
        }
        #Layer3D{
            position: absolute;
            top: 0px; height: 100%;
            padding: 0px;
            z-index:1;
        }

        .element {
            width: 120px;
            height: 160px;
            box-shadow: 0px 0px 12px rgba(0,255,255,0.5);
            border: 1px solid rgba(127,255,255,0.25);
            text-align: center;
            cursor: default;
        }

        .element:hover {
            box-shadow: 0px 0px 12px rgba(0,255,255,0.75);
            border: 1px solid rgba(127,255,255,0.75);
        }

        .element .number {
            position: absolute;
            top: 20px;
            right: 20px;
            font-size: 12px;
            color: rgba(127,255,255,0.75);
        }

        .element .symbol {
            position: absolute;
            top: 40px;
            left: 0px;
            right: 0px;
            font-size: 60px;
            font-weight: bold;
            color: rgba(255,255,255,0.75);
            text-shadow: 0 0 10px rgba(0,255,255,0.95);
        }

        .element .details {
            position: absolute;
            bottom: 15px;
            left: 0px;
            right: 0px;
            font-size: 12px;
            color: rgba(127,255,255,0.75);
        }

        button {
            color: rgba(127,255,255,0.75);
            background: transparent;
            outline: 1px solid rgba(127,255,255,0.75);
            border: 0px;
            padding: 5px 10px;
            cursor: pointer;
        }
        button:hover {
            background-color: rgba(0,255,255,0.5);
        }
        button:active {
            color: #000000;
            background-color: rgba(0,255,255,0.75);
        }
    </style>
</head>
<body>
<script src="pixi/pixi.js/bin/pixi.min.js?"+Math.random()></script>
<script src="pixi/balaJS/Main2D.js?"+Math.random()></script>
<script src="pixi/balaJS/Hajime.js?"+Math.random()></script>
<script src="pixi/balaJS/ControlCenter.js?"+Math.random()></script>
<script src="pixi/balaJS/MusicControl.js?"+Math.random()></script>
<script src="pixi/balaJS/WeiXinAudioController.js?"+Math.random()></script>
<script src="pixi/OtherJS/Scroller.js"></script>
<script src="pixi/OtherJS/TweenMax.min.js?"+Math.random()></script>

<script src="pixi/src/Page1.js?"+Math.random()></script>
<script src="pixi/src/Page2.js?"+Math.random()></script>
<script src="pixi/src/Btn1.js?"+Math.random()></script>
<script src="pixi/src/Btn99.js?"+Math.random()></script>
<script src="pixi/src/Btn2.js?"+Math.random()></script>


<script src="three/build/three.js?"+Math.random()></script>
<script src="three/balaJS/Main3D.js?"+Math.random()></script>
<script src="three/balaJS/Text3D.js?"+Math.random()></script>
<script src="three/balaJS/SLine.js?"+Math.random()></script>
<script src="three/OtherJS/OrbitControls.js"></script>
<script src="three/OtherJS/CSS3DRenderer.js"></script>
<script src="three/OtherJS/TrackballControls.js"></script>
<script src="three/OtherJS/DragControls.js"></script>
<script src="three/src/Space.js"></script>
<script src="gameController/GameController.js"></script>

<!--<script src="http://code.jquery.com/jquery-1.7.1.min.js"></script>-->
<!--<script src="https://code.jquery.com/jquery-3.1.1.min.js"></script>-->
<!--<script src="WebJS/jquery.jsonp.js"></script>-->

<script src='http://res.wx.qq.com/open/js/jweixin-1.0.0.js' src-release="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
<div style="display:none"><img src='suolue.png' width="400" height="400" />
    <?php
require_once "jssdk.php";
$jssdk = new JSSDK("wx409a5223727cfbde", "3750cb321b4965883f1ccbe1fc945f8d");
$signPackage = $jssdk->GetSignPackage();
    ?></div>





<script type="text/javascript">
function bala() {
//    $.ajax({
//        async: false,
//        type: "POST",
//        dataType: 'jsonp',
//        jsonp: 'callback',
//        jsonpCallback: 'callbackfunction',
//        url: "http://192.168.8.218:8081/qnms/webgl/neList",
//        data: "",
//        timeout: 3000,
//        contentType: "application/json;utf-8",
//        success: function(msg) {
//            console.log(msg);
//        }
//    });



//    $.ajax({
//        url: "http://192.168.8.218:8081/qnms/webgl/neList",
//        type: 'POST',
//        dataType: 'JSONP',//here
//        success: function (data) {
//            console.log(data);
//            console.log("AJAXAJAX");
//            console.log("AJAXAJAX");
//            console.log("AJAXAJAX");
//            console.log("AJAXAJAX");
//        }
//    });
}
bala();
</script>
<script>
    var GC=GameController.Create();
    var main3 = Main3D.Create();
    var main2 = Main2D.Create();







//    AudioSkip.skip();//音频预加载不完成也开始画面


//    var input=document.createElement("input");
//    input.style.position="absolute";
//    input.style.width=360+"px";input.style.height=43+"px";
//    input.style.top=264+"px";input.style.left=650+"px";
//    input.style.zIndex=10;
//    document.body.appendChild(input);
</script>



<script>
    var timestamp = Date.parse(new Date());
    timestamp = timestamp / 1000;



    wx.config({
        debug: false, // 开启调试模式,调用的所有api的返回值会在客户端alert出来，若要查看传入的参数，可以在pc端打开，参数信息会通过log打出，仅在pc端时才会打印。
        appId: '<?php echo $signPackage["appId"];?>',
        timestamp: '<?php echo $signPackage["timestamp"];?>',
        nonceStr: '<?php echo $signPackage["nonceStr"];?>',
        signature: '<?php echo $signPackage["signature"];?>',
        jsApiList: ['onMenuShareAppMessage']

    });
    wx.ready(function () {
        wx.onMenuShareAppMessage({
            title:'balaTitle', // 分享标题
            desc: 'balaDesc', // 分享描述
            link: 'http://www.yixuanhudong.com/SN/KaiLiHaiHuaFu2/index.html', // 分享链接
            imgUrl:'http://www.yixuanhudong.com/SN/KaiLiHaiHuaFu2/suolue.png',
            success: function () {
//                alert("分享成功！");
            },
            cancel: function () {
                // 用户取消分享后执行的回调函数
            }
        });
    });

    var arr=["sound/bg.mp3|music1"];
    WeiXinAudioController.Create(arr);
</script>

</body>
</html>